Router.route('/',{
	name: 'app.index',
  controller: 'LoginController'
});
Router.route('/login',  {
  name: 'app.login',
  controller: 'LoginController'
});
Router.route('/message',  {
  name: 'message',
  controller: 'messageController'
});
Router.route('/resetPasswd',  {
  name: 'resetPasswd',
  controller: 'resetPasswdController'
});
Router.route('/bindPhone',  {
  name: 'bindPhone',
  controller: 'bindPhoneController'
});
Router.route('/setAccount',  {
  name: 'setAccount',
  controller: 'setAccountController'
});

Router.route('/wallet-list',  {
  name: 'wallet.list',
  controller: 'WalletController'
});
Router.route('/wallet',  {
  name: 'wallet',
  controller: 'WalletDetailController'
});

Router.route('/capital',  {
  name: 'capital',
  controller: 'CapitalController'
});
Router.route('/center', { 
  name: 'center',
  controller: 'centerController'
});
Router.route('/home', {
  name: 'home',
  controller: 'HomeController'
});
Router.route('/order', {
  name: 'order',
  controller: 'orderController'
});
// Router.route('/merchantCenter', {
//   name: 'merchantCenter',
//   controller: 'merchantCenterController'
// });
Router.route('/withdrawals', {
  name: 'withdrawals',
  controller: 'withdrawalsController'
});
Router.route('/order/:id', {
  name: 'order-detail',
  controller: 'orderDetailController'
});
Router.route('/refunded', {
  name: 'refunded',
  controller: 'refundedController'
});
Router.route('/idle', {
  name: 'idle',
  controller: 'idleController'
});
/* 404页面，带参数的路由需要在only后面的数组里把该路由名添加一下，防止不能正常访问 */
//Router.onBeforeAction('dataNotFound', {only: ['setAccount', 'bindPhone']});